Imports System.Collections.Generic
Imports System.Linq
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls

Public Partial Class MovieTixStaff_changeuser
	Inherits System.Web.UI.Page
	Protected Sub Page_Load(sender As Object, e As EventArgs)

    End Sub
    Protected Sub update(ByVal sender As Object, ByVal e As EventArgs)
        Label8.Text = "*The user: [" + DropDownList1.SelectedItem.Text + "] is moved to the theatre: " + DropDownList2.SelectedItem.Text
        SqlDataSource4.UpdateParameters("TheatreID").DefaultValue = DropDownList2.SelectedItem.Value
        'SqlDataSource4.UpdateParameters["TheatreStaffUserName"].DefaultValue = DropDownList1.SelectedItem.Text;
        SqlDataSource4.Update()
        'SqlDataSource4.InsertParameters["TheatreID"].DefaultValue = DropDownList2.SelectedItem.Value;
        'SqlDataSource4.InsertParameters["TheatreStaffUserName"].DefaultValue = DropDownList1.SelectedItem.Text;
        'SqlDataSource4.Insert();

    End Sub
End Class
